import{d as u,b as c,o as i,a,c as m,e as s,u as t,_ as n,ab as d,t as l,bg as y,bh as h,bi as r,bj as o,bk as k,ae as v,F as b,g as f,ar as g,ah as p}from"./DrFvzlh8agutd.js";import"./DY_D5Q_I2Xyf8y.js";import"./MpnPZlTSagutd.js";const x={class:"app-list-item-inner app-list-item-border"},B={class:"app-list-item-state"},C={class:"app-list-item-line1"},D={class:"app-list-item-date"},z={key:0,class:"app-list-item-amount"},F=["data-credit"],L={key:0,class:"app-list-item-number"},N={class:"app-list-item-line2"},R={class:"app-list-item-contact"},V={key:0,class:"app-list-item-amount-original"},S={class:"app-list-item-number"},I=u({__name:"app-list-item-compact",props:{item:{},selected:{type:Boolean},selectedLast:{type:Boolean},size:{}},setup(e){return($,j)=>(i(),c("div",{class:p(["app-list-item",{selected:e.selected,selectedLast:e.selectedLast}]),style:g({height:`${e.size}px`})},[a("div",x,[a("div",B,[e.item.star?(i(),m(t(n),{key:0,name:"star"})):s("",!0),e.item.inbox?(i(),m(t(n),{key:1,name:"circle"})):t(d).silver&&!e.item.confirmed?(i(),m(t(n),{key:2,name:"unconfirmed"})):s("",!0)]),a("div",C,[a("div",D,l(t(y)(e.item?.date)||"-"),1),t(d).silver&&t(h)(e.item)?(i(),c("div",z,[a("div",{class:"app-list-item-credit","data-credit":!!e.item.credit},[e.item.credit?(i(),m(t(n),{key:0,name:"credit"})):s("",!0),e.item.credit?s("",!0):(i(),m(t(n),{key:1,name:"debit"}))],8,F),t(r)(e.item)?(i(),c("span",L,l(t(o)(t(k)(e.item.gross,e.item.currency,e.item.exchangeRate))),1)):s("",!0)])):s("",!0)]),a("div",N,[a("div",R,l(e.item.title??"")+"  ",1),t(d).silver&&t(r)(e.item)?(i(),c("div",V,[t(v)!==e.item.currency?(i(),c(b,{key:0},[f(l(e.item.currency)+" ",1),a("span",S,l(t(o)(e.item.gross)),1)],64)):s("",!0)])):s("",!0)])])],6))}});export{I as default};